<div class="toolbar">
    <h4>其它上传</h4>
    <p class="text-muted">提供了自定义文件上传辅助指令，音频，视频上传组件</p>
</div>
<div class="p-3">
    <div class="row">
        <div class="col-lg-6">
            <div class="card mb-3">
                <div class="card-header border-bottom">视频上传</div>
                <div class="card-body">
                    <ts-video [config]="uploadConfig" title="请选择视频" [color]="global.params.color" [src]="sourceUrl"></ts-video>
                </div>
            </div>
        </div>
        <div class="col-lg-6">
            <div class="card mb-3">
                <div class="card-header border-bottom">音频上传</div>
                <div class="card-body">
                    <ts-video [config]="uploadConfig" title="请选择音频" [color]="global.params.color" [src]="sourceUrl" type="audio"></ts-video>
                </div>
            </div>
        </div>
    </div>
    <div class="card">
        <div class="card-header border-bottom">Excel文件读取</div>
        <div class="card-body">
            <div>
                <input #fileDom="tsFile" tsFile (fileChange)="readExcel($event)" type="file">
                <button tsBtn (click)="fileDom.openFileDialog()">打开文件(Excel)</button>
            </div>
            <table class="table bg-white mb-0 text-center">
                <thead class="text-dark">
                    <tr>
                        <th *ngFor="let th of theads" class="border-0">{{th}}</th>
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let tr of tbodys">
                        <td *ngFor="let th of theads">{{tr[th]}}</td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>